﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.NewsLetters.Models
{
	[DataContract]
	public class EmailRecipient 
	{
		/// <summary>
		/// Identifiant interne du user
		/// </summary>
		/// <value>The id.</value>
		[DataMember]
		public int Id { get; set; }
		/// <summary>
		/// Prénom
		/// </summary>
		[DataMember]
		public string FirstName { get; set; }
		/// <summary>
		/// Nom
		/// </summary>
		[DataMember]
		public string LastName { get; set; }
		/// <summary>
		/// Nom complet
		/// </summary>
		/// <value>The full name.</value>
		[DataMember]
		public string FullName { get; set; }
		/// <summary>
		/// Adresse email
		/// </summary>
		/// <value>The email.</value>
		[DataMember]
		public string Email { get; set; }
		/// <summary>
		/// Presentation (sexe)
		/// </summary>
		/// <value>The presentation.</value>
		[DataMember]
		public ERPStore.Models.UserPresentation Presentation { get; set; }
		/// <summary>
		/// Statut de verification de l'email
		/// </summary>
		/// <value>The email verification status.</value>
		[DataMember]
		public ERPStore.Models.EmailVerificationStatus EmailVerificationStatus { get; set; }
		/// <summary>
		/// Nom de la société eventuel à laquelle est rattaché le user
		/// </summary>
		/// <value>The name of the corporate.</value>
		[DataMember]
		public string CorporateName { get; set; }
		/// <summary>
		/// Indique si le mail est blacklisté
		/// </summary>
		[DataMember]
		public bool IsBlackListed { get; set; }

		/// <summary>
		/// Code postal
		/// </summary>
		[DataMember]
		public string ZipCode { get; set; }

		/// <summary>
		/// Ville
		/// </summary>
		[DataMember]
		public string City { get; set; }

		/// <summary>
		/// Code ISO du pays 
		/// </summary>
		[DataMember]
		public string CountryCode { get; set; }
	}
}
